# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
import os.path
print(os.path.abspath('9、文件对象的复制.py'))
print(os.path.exists('demo4.py'), os.path.exists('9、文件对象的复制.py'))
print(os.path.join('D:\\1.person\\8.python\\chart14、模块', '9、文件对象的复制.py'))
print(os.path.split('D:\\1.person\8.python\第十四章\demo2.py'))
print(os.path.splitext('9、文件对象的复制.py'))
print(os.path.basename('D:\1.person\8.python\第十四章\demo2.py'))
print(os.path.dirname('D:\\1.person\8.python\第十四章\demo2.py'))
print(os.path.isdir('D:\\1.person\8.python\第十四章'))